package com.alibaba.discoveryconsumerfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author YL
 * @date 11:51 2021/10/2
 */
@FeignClient(name = "nacos-provider")
public interface Feign {
    @GetMapping("/echo/{name}")
    String echo(@PathVariable String name);
}
